package com.chess.chessplay.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @RequestMapping("/main")
    public String ToMain() {
        return "player/main";
    }

    @RequestMapping("/index1")
    public String ToIndex() {
        return "player/index1";
    }

    @RequestMapping("/olchess")
    public String Toolchess() {
        return "player/chess";
    }


    @RequestMapping("/computerplayer")
    public String alonechess() {
        return "player/compile";
    }

    @RequestMapping("/compileonline")
    public String compileonline() {
        return "player/compileonline";
    }


}
